home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000055_Chris@bundy.co.uk_Tue Dec 9 18:18:18 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!diablo.theplanet.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!echo.uk.clara.net
  2. From: Chris@bundy.co.uk
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Command line switches
  5. Date: Tue, 09 Dec 2003 22:32:31 +0000
  6. Sender: Chris
  7. Reply-To: Chris@bundy.co.uk
  8. Message-ID: <r3jctvgfef9a4c1fdqup61vn5n6dg6s43o@4ax.com>
  9. References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu> <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com> <slrnbtburh.2o1.fdc@sesame.cc.columbia.edu>
  10. X-Newsreader: Forte Agent 1.92/32.572
  11. MIME-Version: 1.0
  12. Content-Type: text/plain; charset=us-ascii
  13. Content-Transfer-Encoding: 7bit
  14. X-Complaints-To: abuse@clara.net (please include full headers)
  15. X-Trace: 6750006c463208a2c40690b810464c40fc9a53a059e84c420a7610503fd64d7f
  16. NNTP-Posting-Date: Tue, 09 Dec 2003 22:32:31 +0000
  17. Lines: 64
  18. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14731
  19.  
  20. On 9 Dec 2003 16:42:25 GMT, Frank da Cruz
  21. <fdc@columbia.edu> wrote:
  22.  
  23. Frank,
  24.  
  25. It still hangs, and session.log is new not
  26. appended to but replaced.
  27.  
  28. when I run the file fred on its own its fine,
  29. server01# more fred
  30. #!/usr/kermit/work/kermit
  31.   set modem type none
  32.   set line /dev/cuaa0
  33.   if fail exit 1
  34.   set exit warning off
  35.   set speed 9600
  36.   log session /var/log/session.log
  37.   if fail exit 1
  38. INPUT -1 STRING_THAT_WILL_NEVER_COME.
  39. #CONNECT
  40.  
  41. server01# more /usr/local/etc/rc.d/phone.sh
  42.  #!/bin/sh
  43.  /var/log/fred
  44.  exit
  45. server01#.
  46.  
  47. Chris
  48.  
  49.  
  50.  
  51. >In article <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com>,
  52. >Chris@bundy.co.uk wrote:
  53. >: On 8 Dec 2003 23:37:36 GMT, Frank da Cruz
  54. >: 
  55. >: If I run the script stand alone it works great,
  56. >: thank you. Its when I try to run it at boot that I
  57. >: have problems.
  58. >: 
  59. >Well you tricked me, you didn't say you wanted to run
  60. >it without a controlling terminal.
  61. >
  62. >: I put the file I had created in phone.sh that I
  63. >: had created in /usr/local/etc/rc.d
  64. >: 
  65. >: server01# more  /usr/local/etc/rc.d/phone.sh
  66. >:  #!/bin/sh
  67. >:  /var/log/fred
  68. >:  exit
  69. >: server01#
  70. >: 
  71. >I don't understand this.  What is /var/log/fred?
  72. >The name of the Kermit script?
  73. >
  74. >: the script never concludes therefore the remaining
  75. >: initialisation scripts never start.
  76. >: 
  77. >Because it still has a CONNECT command in it, which
  78. >requires a controlling terminal?  In that case,
  79. >replace the CONNECT command with the INPUT sequence
  80. >that I recommended yesterday.
  81. >
  82. >- Frank
  83.  
  84.